interface FunctionInterface{
    /**
     * 声明函数签名
     */
    (key:string,page:number):Array<Object>
}

let myFun:FunctionInterface = function(key:string,page:number){
    return [1,2,true,key,page]
}

console.log(myFun('myKey',-1))